package cn.stylefeng.guns.modular.biz.mapper;

import cn.stylefeng.guns.modular.biz.pojo.response.PmPowerplantProConBomGroupByDateVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.biz.entity.PmPowerplantProConBom;
import cn.stylefeng.guns.modular.biz.pojo.response.PmPowerplantProConBomVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cn.stylefeng.guns.modular.biz.pojo.request.PmPowerplantProConBomRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * MES投煤量数据 Mapper 接口
 *
 * @author 张朋飞
 * @since 2024/10/08 17:03
 */
public interface PmPowerplantProConBomMapper extends BaseMapper<PmPowerplantProConBom> {

    /**
     * 获取自定义查询列表
     *
     * @author 张朋飞
     * @since 2024/10/08 17:03
     */
    List<PmPowerplantProConBomVo> customFindList(@Param("page") Page page, @Param("param")PmPowerplantProConBomRequest request);

    /**
     * 获取自定义查询列表 用于得到每天的重量与平衡检测值
     *
     * @author 张朋飞
     * @since 2024/10/08 17:03
     */
    PmPowerplantProConBomGroupByDateVo listGroupDate(@Param("gatherDate") String gatherDate);
}
